package com.yonyou.pmclouds.alterandvisa.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.Date;

@Table(name="pm_alterandvisa")
@Setter
@Getter

/**
 * 变更签证
 */
public class AlterAndVisaVO extends SuperVO {
    public static final String CREATOR = "creator";
    public static final String CREATOR_NAME = "creatorName";
    public static final String PK_CATEGORY = "pk_altervisacategory";
    public static final String PK_ALTERVISACATEGORY = "pkAltervisacategory";
    public static final String PK_PROJECT = "pk_project";
    public static final String BILLSTATUS = "billstatus";
    public static final String PK_ENTERPRISE = "pkEnterprise";
    public static final String ENTERPRISE_NAME = "enterpriseName";
    public static final String APPLYDATE = "applyDate";
    public static final String ESTIMATEMNY = "estimateMny";
    public static final String ALTERVISACONTENT = "alterVisaContent";
    public static final String PK_PROJECTPART = "pk_projectpart";

    @Id
    private String pkAlterandvisa;

    private String pkTenant;
    private String pkAltervisacategory;  //变更签证分类
    private String pk_project;
    private String pkEnterprise;  //施工单位

    private Byte isVisa;      //是签证(不是变更)
    private String alterVisaContent; //变更签证内容
    private Date applyDate;     //申请日期
    private Double estimateMny; //预估金额

    private String creator;
    private Date creationtime;
    private String modifier;
    private Date modifytime;
    private Byte billstatus;
    private String bill_type;

    private BigDecimal longitude; //经度
    private BigDecimal latitude;  //纬度
    private String position;   //位置信息

    private String pkProjectpart;//工程部位
    @Transient
    private String projectpartName;//工程部位名称

    @Transient
    private String[] pictures;  //照片

    @Transient
    private String creatorName;  //制单人
    @Transient
    private String enterpriseName;  //施工单位
    @Transient
    private String projectName;
    @Transient
    private String projectCode;
    @Transient
    private String categoryName;//类别
    @Transient
    private int picNum;
    @Transient
    private String orgName; //公司名称
    @Transient
    private String picture_address; // 照片真实地址(用于存储HTML形式)
    @Transient
    private String strApplyDate;
    @Transient
    private String strBillstatus;
    @Transient
    private String strCreationtime;
    @Transient
    private String strEstimateMny;
}
